//
//  NSString+Uper.m
//  08_Code 类的扩展
//
//  Created by dllo on 16/7/13.
//  Copyright © 2016年 yh. All rights reserved.
//

#import "NSString+Uper.h"

@implementation NSString (Uper)

- (void)getStr:(NSString *)str {
    NSString *str1 = [str uppercaseString];
    NSLog(@"%@", [str1 substringToIndex:1]);
 }

- (NSString *)getFirstChar {
    NSString *first = [self substringWithRange:NSMakeRange(0, 1)];
    return first.uppercaseString;
}

@end
